package com.ruoyi.business.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 预警推送方式配置业务对象 warning_config_push
 *
 * @author ruoyi
 * @date 2024-05-03
 */

@Data
public class WarningConfigPushBo  {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long pushId;

    /**
     * 预警id
     */
    @NotNull(message = "预警id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long warningId;

    /**
     * 预警推送方式(queueConstant.)
     */
    @NotBlank(message = "预警推送方式(queueConstant.)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pushType;


}
